QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Connecting to the Base Image Decompressor

To use the services of the base image decompressor, your image decompressor component must open a connection to the base image decompressor component. Listing 1 illustrates how to make the connection.

Listing 1 Connecting to the base image decompressor component

CodecComponent baseCodec;
OSErr err;

err = OpenADefaultComponent (decompressorComponentType,
                             kBaseCodecType,
                             &baseCodec);

err = ComponentSetTarget (baseCodec,
                          self );


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next